package com.yunkaweilai.android.model.jici;

import com.yunkaweilai.android.model.member.MemberHeadModel;

import java.util.List;

/**
 * Created by Administrator on 2017/7/31.
 */

public class CommonMemberModel {

    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"list":[{"id":"140","member_tel":"13750813766","member_name":"陆利锋","card_no":"1205","is_alwaysvalid":"0","validtime":"2018-07-19","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"124","member_tel":"15257153799","member_name":"周◇○▼▲▲♥◆△○卍┫┴┪╆╈╊╉","card_no":"1234","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"117","member_tel":"15597675891","member_name":"张萍","card_no":"124","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"25","member_tel":"13997310174","member_name":"靳发明","card_no":"13997310174","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"24","member_tel":"18797187136","member_name":"石宏杰","card_no":"18797187136","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"10","member_tel":"17705814249","member_name":"马常凤","card_no":"17705814249","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"}],"page":{"totalPages":1,"firstRow":0,"listRows":10,"count":"6","currpage":1,"next":false,"prev":false}}
     */

    private int loginCode;
    private int code;
    private String message;
    /**
     * list : [{"id":"140","member_tel":"13750813766","member_name":"陆利锋","card_no":"1205","is_alwaysvalid":"0","validtime":"2018-07-19","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"124","member_tel":"15257153799","member_name":"周◇○▼▲▲♥◆△○卍┫┴┪╆╈╊╉","card_no":"1234","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"117","member_tel":"15597675891","member_name":"张萍","card_no":"124","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"25","member_tel":"13997310174","member_name":"靳发明","card_no":"13997310174","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"24","member_tel":"18797187136","member_name":"石宏杰","card_no":"18797187136","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"},{"id":"10","member_tel":"17705814249","member_name":"马常凤","card_no":"17705814249","is_alwaysvalid":"1","validtime":"永久有效","ml_status":"1","commission_name":null,"is_click":true,"statusStr":"正常"}]
     * page : {"totalPages":1,"firstRow":0,"listRows":10,"count":"6","currpage":1,"next":false,"prev":false}
     */

    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalPages : 1
         * firstRow : 0
         * listRows : 10
         * count : 6
         * currpage : 1
         * next : false
         * prev : false
         */

        private PageBean page;
        /**
         * id : 140
         * member_tel : 13750813766
         * member_name : 陆利锋
         * card_no : 1205
         * is_alwaysvalid : 0
         * validtime : 2018-07-19
         * ml_status : 1
         * commission_name : null
         * is_click : true
         * statusStr : 正常
         */

        private List<MemberHeadModel> list;

        public PageBean getPage() {
            return page;
        }

        public void setPage(PageBean page) {
            this.page = page;
        }

        public List<MemberHeadModel> getList() {
            return list;
        }

        public void setList(List<MemberHeadModel> list) {
            this.list = list;
        }

        public static class PageBean {
            private int totalPages;
            private int firstRow;
            private int listRows;
            private String count;
            private int currpage;
            private boolean next;
            private boolean prev;

            public int getTotalPages() {
                return totalPages;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public int getFirstRow() {
                return firstRow;
            }

            public void setFirstRow(int firstRow) {
                this.firstRow = firstRow;
            }

            public int getListRows() {
                return listRows;
            }

            public void setListRows(int listRows) {
                this.listRows = listRows;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public int getCurrpage() {
                return currpage;
            }

            public void setCurrpage(int currpage) {
                this.currpage = currpage;
            }

            public boolean isNext() {
                return next;
            }

            public void setNext(boolean next) {
                this.next = next;
            }

            public boolean isPrev() {
                return prev;
            }

            public void setPrev(boolean prev) {
                this.prev = prev;
            }
        }
    }
}
